package com.jzx.provider.cv.dto.result;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Builder;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import javax.persistence.*;
import java.util.Date;


/**
 * Created by chuzhaowi on 2019/12/21
 */
@Data
@Builder
public class CerInfoResult {

    private Integer id;

    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private Long cvId;

    /**
     * 证书
     */
    private String name;

    /**
     * 获取时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date getDate;
}
